Hi everyone,
I have a small question. I want to uninstall programs using c#. Can any one tell me that how can I perform this task. Like suppose that vlc player is installed in my system. Now what I want using my program I want to uninstall that vlc player.
Thanks.
Uninstalling program using C#.
722126-Jul-2011
Anonymous User
26-Jul-2011Like following example will demonstarte
Process.Start("msiexec /x {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}");
where xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx represents GUID of that application that you want to uninstall.
Thanks.